import First from '../views/first/First'
import Menu from '../views/menu/Menu'
import My from '../views/my/My'
const routes=[
    {
        path:'/first',
        component:First,
        text:'首页'
    },
    {
        path:'/menu',
        component:Menu,
        text:'商品'
    },
    {
        path:'/my',
        component:My,
        text:'我的'
    },
    {
        path:'/',
        redirect:'/first'
    }
]
export default routes